package online.foxnull2.foxmall.order.feign;

import online.foxnull2.foxmall.order.vo.orderConfirm.MemberReceiveAddress;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient("foxmall-member")
public interface MemberFeignService {

    @GetMapping("/member/memberreceiveaddress/list/{memberId}/receive/address")
    List<MemberReceiveAddress> listReceiveAddressByMemberId(@PathVariable("memberId") Long memberId);
}
